import { defineStore } from 'pinia'

type UserState = {
  token: string
}

const useUserStore = defineStore('uset', {
  state: (): UserState => ({
    token: ''
  }),
  persist: true
})

export default useUserStore
